package jp.sourceforge.akjrcp.ui;

import org.eclipse.swt.layout.GridLayout;
/**
 * moved use commons
 * @deprected 
 * @author aki
 *
 */
public class LayoutBuilder {
public static GridLayout makeGridLayoutNoMargin(int num,boolean same){
	GridLayout layout=new GridLayout(num,same);
	layout.marginHeight=0;
	layout.marginWidth=0;
	return layout;
}

public static GridLayout makeGridLayoutWithMargin(int num,boolean same,int width,int height){
	GridLayout layout=new GridLayout(num,same);
	layout.marginHeight=width;
	layout.marginWidth=height;
	return layout;
}

}
